Integrand size = 17, antiderivative size = 60 \[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=-\frac {(b \cos (c+d x))^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {n}{2},\frac {2+n}{2},\cos ^2(c+d x)\right ) \sin (c+d x)}{d n \sqrt {\sin ^2(c+d x)}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {16, 2722} \[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=-\frac {\sin (c+d x) (b \cos (c+d x))^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {n}{2},\frac {n+2}{2},\cos ^2(c+d x)\right )}{d n \sqrt {\sin ^2(c+d x)}} \]
[In]
[Out]
Rule 16
Rule 2722
Rubi steps \begin{align*} \text {integral}& = b \int (b \cos (c+d x))^{-1+n} \, dx \\ & = -\frac {(b \cos (c+d x))^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {n}{2},\frac {2+n}{2},\cos ^2(c+d x)\right ) \sin (c+d x)}{d n \sqrt {\sin ^2(c+d x)}} \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.05 \[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=-\frac {b (b \cos (c+d x))^{-1+n} \cot (c+d x) \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {n}{2},\frac {2+n}{2},\cos ^2(c+d x)\right ) \sqrt {\sin ^2(c+d x)}}{d n} \]
[In]
[Out]
\[\int \left (\cos \left (d x +c \right ) b \right )^{n} \sec \left (d x +c \right )d x\]
[In]
[Out]
\[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=\int { \left (b \cos \left (d x + c\right )\right )^{n} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=\int \left (b \cos {\left (c + d x \right )}\right )^{n} \sec {\left (c + d x \right )}\, dx \]
[In]
[Out]
\[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=\int { \left (b \cos \left (d x + c\right )\right )^{n} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=\int { \left (b \cos \left (d x + c\right )\right )^{n} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int (b \cos (c+d x))^n \sec (c+d x) \, dx=\int \frac {{\left (b\,\cos \left (c+d\,x\right )\right )}^n}{\cos \left (c+d\,x\right )} \,d x \]
[In]
[Out]